--allow-dirty to deal with the extra files we copy in
authorFelix Krull <f_krull@gmx.de>
Thu, 18 Oct 2018 19:14:25 +0000 (21:14 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:53 +0000 (12:53 -0400)
It's not super pretty, but it should work ok.

rust-bindings/rust/.gitlab-ci.yml

index 634f1cd2dacb4f7e4a7f6ddff1a0a85489213e10..a05850d62c9141c3e11f8eda0cf10fdc5c6e8a20 100644 (file)
@@ -63,12 +63,12 @@ publish_libostree-sys:
   stage: publish
   script:
   - make pre-package
-  - cargo publish --verbose --manifest-path libostree-sys/Cargo.toml --token $CRATES_IO_TOKEN
+  - cargo publish --verbose --manifest-path libostree-sys/Cargo.toml --allow-dirty --token $CRATES_IO_TOKEN
   when: manual
 
 publish_libostree:
   stage: publish
   script:
   - make pre-package
-  - cargo publish --verbose --manifest-path libostree/Cargo.toml --token $CRATES_IO_TOKEN
+  - cargo publish --verbose --manifest-path libostree/Cargo.toml --allow-dirty --token $CRATES_IO_TOKEN
   when: manual